const mongoose = require("mongoose");
const Schema =  mongoose.Schema;
const projec = new Schema({
    discription:{
        type:String,
        required:true,
        maxlength:210
        
    },
    name:{
        type:String,
        required:true
    },
    Url:{
        type:String,
        required:true
    },
    github:{
        type:String
    },
    gitee:{
        type:String
    },
    thumb:{
        type:String
    },
    language:{
        type:String
    }
},{
    timestamps:{
       
    }
})


module.exports = mongoose.model("Project",projec);